package cn.edu.cug.cs.gtl.plugins.htsfile;

import cn.edu.cug.cs.gtl.apis.ui.AbstractApplication;
import cn.edu.cug.cs.gtl.apis.ui.actions.AbstractActions;
import cn.edu.cug.cs.gtl.apis.ui.actions.HTSFileActions;
import cn.edu.cug.cs.gtl.plugins.htsfile.actions.OpenHTSFileAction;
import org.pf4j.Extension;
import org.pf4j.Plugin;

public class HTSFilePlugin extends Plugin {

        public HTSFilePlugin() {
            super();
        }

        @Override
        public void start() {
            super.start();
        }

        @Override
        public void stop() {
            super.stop();
        }

        @Override
        public void delete() {
            super.delete();
        }

        @Extension
        public static class HelloActionsImpl extends AbstractActions implements HTSFileActions {

            @Override
            public void initialize(AbstractApplication theApp) {
                OpenHTSFileAction openHTSFileAction = new OpenHTSFileAction();
                openHTSFileAction.initialize(theApp);
                addAction(openHTSFileAction);
            }
        }
}
